
#include <ecom/ecom.h>

inline CShape * CShape::NewL( const TUid aUid )
	{
	TAny * shape = REComSession::CreateImplementationL(
			aUid, _FOFF( CShape, iDestructorIDKey ) );
	return 	reinterpret_cast<CShape *>( shape );
	}

inline CShape::~CShape()
	{
	REComSession::DestroyedImplementation( iDestructorIDKey );
	REComSession::FinalClose();
	}
